#pragma once																					// include once
#include <Windows.h>

//winmain class declaration

class CWinmain{
	private:
		HWND hWindow;																			// declare the window handle

		static LRESULT CALLBACK WndProc(HWND hWindow, UINT msg, WPARAM wParam, LPARAM lParam);  // declare the callback function

	public:
	
		CWinmain();																				//ctor
		~CWinmain();																			//dtor

		HWND getHandle() { return this->hWindow;};												// mutator function to expose the window handle
		HRESULT InitWindow(HINSTANCE hInstance, int nCmdShow);									// declare the window initialization function	


};
